home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / keyb / fkeyins.zip / FKEY.DOC < prev    next >
Text File  |  1987-10-06  |  2KB  |  42 lines

  1. ** FKEY **
  2. ** By M. B. Page **
  3.  
  4. Purpose:    Assigns DOS commands to function key(s).
  5. Usage:    FKEY 2 dir
  6.  
  7. In the above usage example, FKEY assigns the DOS command "dir" to function
  8. key 2. Upon executing the above example the dir command will be issued when
  9. ever the F2 function key is pressed.  
  10.  
  11. NOTE: FKEY will override DOS's normal use of function keys. If the key F3 is
  12. assigned a string, the normal F3 funtion (repeat last DOS command) will be 
  13. replaced with the new FKEY assignment.
  14.  
  15. FKEY can also be used to execute batch files, by assigning a batch 
  16. filename to a function key.  You cannot assign multiple DOS commands to a 
  17. single function key.  For example: "FKEY 3 cd\letters type letter.txt" would 
  18. only result in changing your current directory to the \letters directory. 
  19. However, "FKEY 3 type \letters\letter.txt" would work just fine from any given
  20. directory.
  21.  
  22. If you just type FKEY and press enter, a brief explanation of the usage
  23. is provide as reminder.  FKEY commands can also be called from batch files.
  24. in order to suppress FKEY messages, add the ">nul" pipe at the end of the 
  25. function key(s) assignments.
  26.  
  27. Example batch file:     Fkins.bat
  28.                         echo off
  29.                         cls
  30.                         FKEY 1 dir>nul
  31.                         FKEY 2 cls>nul
  32.                         FKEY 3 chkdsk>nul
  33.                         FKEY 4 dir /w>nul
  34.  
  35. FKEY is the result of my present attempt to learn the C language.  In order
  36. for this program to work, you must have the DOS ANSI.SYS driver install in 
  37. memory. (See your DOS manual for instructions on how to add ANSI.SYS) to 
  38. your config.sys file at boot time.
  39.  
  40. FKEY is provided to share with your friends, upload to BBS's etc.. 
  41. Provided that this file FKEY.DOC is included.
  42.